const mongoose = require('mongoose')

mongoose.connect('mongodb+srv://2018839287:TsSA3GlDspSf8dA3@cluster0.o1rup.mongodb.net/product_node')
    .then(() => {
        console.log('ok');
    })
    .catch((err) => {
        console.log(err);

    })

module.exports = mongoose